#include <iostream>
#include <algorithm>
using namespace std;
/*
	11
	22
	
*/
string mul(int num1,int num2){

    string s1=to_string(num1),s2=to_string(num2);
    string sRet;
    sRet.resize(s1.size()+s2.size(),'0');
    reverse(s1.begin(),s1.end());
    reverse(s2.begin(),s2.end());
    
    for(int i=0;i<s1.size();++i){
    	int add=0;
        for(int j=0;j<s2.size();++j){
            int sum=(s1[i]-'0')*(s2[j]-'0')+add+(sRet[i+j]-'0');
            sRet[i+j]=sum%10+'0';
            add=sum/10;
        }
        if(add>0){
			sRet[i+s2.size()]=add+'0';
		}
    }
	while(sRet.size()>1 && sRet.back()=='0'){
		sRet.pop_back();
	}

    reverse(sRet.begin(),sRet.end());
    return sRet; 
}
int main(){
	
	string t=mul(10,10);
	cout<<t;
	
	return 0;
}
